package com.share.service.impl;

import com.share.mapper.CityMapper;
import com.share.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author:caifan
 * date:2019/3/23
 */
@Service
public class CityService implements ICityService {
    @Autowired
    CityMapper cityMapper;

    @Override
    public int cityInsert(Integer provinceId, String cityName, String description) {
        return cityMapper.insertCity(provinceId, cityName, description);
    }
}
